package com.example.peibei.service.presenter;

import com.dingtao.common.core.DataCall;
import com.dingtao.common.core.WDPresenter;
import com.dingtao.common.core.http.IAppRequest;

import io.reactivex.Observable;

/**
 * @author dingtao
 * @date 2018/12/28 11:23
 * qq:1940870847
 */
public class PayOrderPresenter extends WDPresenter<IAppRequest> {

    public PayOrderPresenter(DataCall dataCall) {
        super(dataCall);
    }

    @Override
    protected Observable getModel(Object... args) {
        return iRequest.payOrder((String) args[0],(int) args[1],(String) args[2],(String) args[3],(String) args[4],(String) args[5]);
    }


}
